package com.ai.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
public class SysRolePermissionParam  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("角色id")
    @NotBlank(message = "角色id不能为空")
    private String roleId;

    @ApiModelProperty("权限id")
    private List<Integer> permissionIdList;


}
